﻿<%@ Page Language="C#" MasterPageFile="~/default.Master" AutoEventWireup="true" CodeBehind="gsSend.aspx.cs" Inherits="Webcar.SysManage.gsSend" Title="公事下达" %>

<%@ Register Assembly="WebPager" Namespace="DevCenterNew" TagPrefix="cc1" %>
<%@ Register Src="../Controls/NaviBar.ascx" TagName="NaviBar" TagPrefix="uc1" %>
<%@ Register Src="../SearchPanel.ascx" TagName="SearchPanel" TagPrefix="uc2" %>

<%@ Register src="InfoReadTip.ascx" tagname="InfoReadTip" tagprefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id = "gsView">
    <uc1:NaviBar ID="NaviBar1" runat="server" />

    <uc2:SearchPanel ID="SearchPanel1" runat="server" OnSearchClick = "Seach_Click" />
    <asp:DataList ID="DataList1" runat="server" DataKeyField="msg_xh"  Width = "100%" GridLines="None" OnItemCommand="DataList1_ItemCommand" OnItemDataBound="DataList1_ItemDataBound">
        <ItemStyle CssClass="tableItems"/>
        <AlternatingItemStyle CssClass="tableItems"/>  
        <ItemTemplate>
        <div class="item">
            <div class="div_taobao">
                <table  cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="C2">文号:<%# Eval("wh")%></td>
                        <td class="C2">发送时间:
                        <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Bind("send_time_str")%>'></asp:HyperLink></td> 
                        <td class="C2">发送人:<asp:HyperLink ID="HyperLink2" runat="server" Text='<%# Bind("oper_name")%>'></asp:HyperLink></td>
                        <td class="C2" style="width:250px">附件:<asp:HyperLink ID="linkFiles" runat="server" Text='<%# Bind("filename")%>'></asp:HyperLink></td>
                        
                        <td class="C3">
                        <asp:HyperLink ID="linkEdit" runat="server" Text='编辑' NavigateUrl=""></asp:HyperLink>
                         <asp:LinkButton ID="DeleteBtn" runat="server" Text='删除'  CommandName="Delete" CommandArgument='<%# Bind("msg_xh")%>'></asp:LinkButton>
                         <asp:HyperLink ID="hlView" runat="server" Text='已查看该公事人员' NavigateUrl="#"></asp:HyperLink>
                         </td>
                    </tr>
                </table>
                <uc3:InfoReadTip ID="InfoReadTip1" runat="server" />   
             </div>   
            <div class="C1">
                <asp:Label ID="Label1" runat="server" Text='<%# Bind("note")%>'></asp:Label>
            </div>
        </div> 
        
        </ItemTemplate>
    </asp:DataList>
    <div class="pager">
        <div style="text-align:left;float:left;padding-top:5px;padding-left:5px;"><asp:HyperLink ID="HyperLink3" runat="server">发送新公事</asp:HyperLink></div>
        <div class="p">
            
            
            
            <cc1:WebPager Width="400px" ID="WebPager1" runat="server" DisplayText="<span style='color: black'>第{0}页&nbsp共{1}页&nbsp总计{2}条&nbsp每页{3}条</span>"  />
        </div>
    </div>
 </div>           
   
    
   
</asp:Content>
